<?php

use yii\db\Migration;

class m170904_030138_alert_card_send extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%card_send}}', 'is_withdraw', $this->smallInteger() . ' default 0 comment \'是否为收回卡 0 否 1 是\'');

    }

    public function safeDown()
    {
        $this->dropColumn('{{%card_send}}', 'is_withdraw');
    }
}
